html输入框可以自动换行,input text 您所在的位置:网站首页 html input换行 html输入框可以自动换行,input text

html输入框可以自动换行,input text

2023-08-06 12:02| 来源: 网络整理| 查看: 265

The element is used to select user information.

 is single line by definition

An element can vary in many ways, depending on the type attribute. An element can be of typetext field, checkbox, password, radio button, submit button, and more.

The tag defines a multi-line text input control.

A text area can hold anunlimited number of characters, and the text renders in afixed-width font (usually Courier). The size of a text area can be specified by the cols and rows attributes, or even better; through CSS‘ height and width properties.

textarea{overflow-y:auto;padding:0;width:100px;height:100px;border:1px solid gray;}时:

全部为w:100px h:100px

这个textarea很混乱。但是设置了padding:0和border:1px solid gray后就全部都统一了。

所以强烈建议重写一下padding和border。

The wrap options are the most tricky part of text areas. If you turn wrap off the text is handled as one long sequence of text without linebreaks. If youse



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有